import request from '@/utils/request.js'


export const userLoginService = ({ userName, password }) =>
  // request.post('/login', { username, password })
request.post('/User/login', { userName, password })


export const userGetInfoService = () =>
    request.get('/User')


export const userSelectCourseService = (data) => request.post('/User/addCourse',data)
